body {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    font-size: 12px;
    background: #f5f5f5;
}


/*点击高亮我们需要清除清除  设置为transparent 完成透明*/

* {
    -webkit-tap-highlight-color: transparent;
}


/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/

input {
    -webkit-appearance: none;
}


/*禁用长按页面时的弹出菜单*/

img,
a {
    -webkit-touch-callout: none;
}


/* 公共样式 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

input {
    border: 0;
    outline: none;
}

.clearfix::before,
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

p {
    margin-top: 5px;
}


/* 主体部分 */


/* serch部分 */

.serch {
    display: flex;
    position: fixed;
    width: 100%;
    left: 50%;
    top: 0;
    max-width: 640px;
    transform: translateX(-50%);
    /* background-color: white; */
}

.serch::before {
    position: absolute;
    content: '';
    display: block;
    top: 13px;
    left: 14px;
    width: 17px;
    height: 17px;
    background: url(../images/sprite.png) no-repeat -58px -279px;
    background-size: 104px;
}

.serch .in {
    flex: 1;
    padding: 0 10px;
}

.in input {
    width: 100%;
    height: 25px;
    line-height: 25px;
    margin-top: 8px;
    padding-left: 20px;
    box-shadow: rgb(204, 204, 204) 0px 0px 5px 0px;
    border-radius: 5px;
}

.serch .link {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(9, 159, 222);
}

.link .img {
    width: 24px;
    height: 24px;
    background: url(../images/sprite.png) no-repeat -58px -194px;
    background-size: 104px;
}


/* banner部分 */

.banner {
    margin-top: 44px;
}

.banner img {
    width: 100%;
}


/* nav部分 */

.nav {
    height: 65px;
    background-color: white;
    border-radius: 8px;
    margin: 8px;
}

.nav ul {
    display: flex;
}

.nav ul li a {
    color: black;
}

.nav ul li {
    display: flex;
    width: 20%;
    height: 65px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav .img {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px;
}

.nav li:nth-child(2) .img {
    background-position: 0px -32px;
    background-size: 32px;
}

.nav li:nth-child(3) .img {
    background-position: 0px -64px;
    background-size: 32px;
}

.nav li:nth-child(4) .img {
    background-position: 0px -96px;
    background-size: 32px;
}

.nav li:nth-child(5) .img {
    background-position: 0px -128px;
    background-size: 32px;
}


/* new部分 */

.new ul {
    display: flex;
    height: 88px;
    margin: 3px;
}

.new .new-1 {
    display: flex;
    height: 88px;
    background: -webkit-linear-gradient(left, #fa5d54, #fa954e);
    border-radius: 10px 10px 0 0;
}

.new .new-1 li {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.new .new-1 li a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: white;
    border-bottom: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
}

.new-1 .img {
    height: 45px;
    background: url(../images/hotel.png) no-repeat;
    background-size: contain;
}

.new .new-1 li:nth-child(1) a {
    border: 0;
}

.new .new-1 li:nth-child(2) a:nth-child(2) {
    border-bottom: 0;
}

.new .new-1 li:nth-child(3) a:nth-child(2) {
    border-bottom: 0;
}


/* 第2条酒店 */

.new .new-2 {
    display: flex;
    height: 88px;
    background: -webkit-linear-gradient(left, #4b92ed, #6e8fb0);
}

.new .new-2 li {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.new .new-2 li a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: white;
    border-bottom: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
}

.new-2 .img {
    height: 45px;
    background: url(../images/hotel.png) no-repeat;
    background-size: contain;
}

.new .new-2 li:nth-child(1) a {
    border: 0;
}

.new .new-2 li:nth-child(2) a:nth-child(2) {
    border-bottom: 0;
}

.new .new-2 li:nth-child(3) a:nth-child(2) {
    border-bottom: 0;
}


/* 第3行 */

.new .new-3 {
    display: flex;
    height: 88px;
    background: -webkit-linear-gradient(left, #42c794, #69d45d);
    border-radius: 0 0 10px 10px;
}

.new .new-3 li {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.new .new-3 li a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: white;
    border-bottom: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
}

.new-3 .img {
    height: 45px;
    background: url(../images/hotel.png) no-repeat;
    background-size: contain;
}

.new .new-3 li:nth-child(1) a {
    border: 0;
}

.new .new-3 li:nth-child(2) a:nth-child(2) {
    border-bottom: 0;
}

.new .new-3 li:nth-child(3) a:nth-child(2) {
    border-bottom: 0;
}


/* type部分 */

.type {
    height: 130px;
    background-color: white;
    border-radius: 8px;
    margin: 8px;
}

.type ul {
    display: flex;
    flex-wrap: wrap;
}

.type ul li a {
    color: black;
}

.type ul li {
    display: flex;
    width: 20%;
    height: 65px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.type .img {
    width: 24px;
    height: 20px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 24px;
}


/* hott部分 */

.hoott {
    height: 100px;
    background-color: skyblue;
}


/* footer部分 */

.footer {
    height: 100px;
    background-color: green;
}